import 'package:json_annotation/json_annotation.dart';

part 'photoPaths.g.dart';

@JsonSerializable()
class PhotoPaths {
  PhotoPaths(
    this.idHoldingPhotoPath,
    this.idPositivePhotoPath,
    this.idReversePhotoPath,
  );

  String idHoldingPhotoPath;
  String idPositivePhotoPath;
  String idReversePhotoPath;
  factory PhotoPaths.fromJson(Map<String, dynamic> json) => _$PhotoPathsFromJson(json);
  Map<String, dynamic> toJson() => _$PhotoPathsToJson(this);
  // 命名构造函数
  PhotoPaths.empty();
}
